import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { BindingList, BindingForm } from '@/api/bindingList/types';

/**
 * 查询H5绑定列表
 * @param query
 * @returns {*}
 */

export const getBindingList = (query?: BindingForm): AxiosPromise<BindingList[]> => {
  return request({
    url: '/painting/sapOrder/list',
    method: 'get',
    params: query
  });
};
